package com.ruoyi.mapper;

import com.ruoyi.domain.ChronicDisease;

import java.util.List;

/**
 * diseaseMapper接口
 * 
 * @author ruoyi
 * @date 2025-01-11
 */
public interface ChronicDiseaseMapper 
{
    /**
     * 查询disease
     * 
     * @param dCid disease主键
     * @return disease
     */
    public ChronicDisease selectChronicDiseaseByDCid(Long dCid);

    /**
     * 查询disease列表
     * 
     * @param chronicDisease disease
     * @return disease集合
     */
    public List<ChronicDisease> selectChronicDiseaseList(ChronicDisease chronicDisease);

    /**
     * 新增disease
     * 
     * @param chronicDisease disease
     * @return 结果
     */
    public int insertChronicDisease(ChronicDisease chronicDisease);

    /**
     * 修改disease
     * 
     * @param chronicDisease disease
     * @return 结果
     */
    public int updateChronicDisease(ChronicDisease chronicDisease);

    /**
     * 删除disease
     * 
     * @param dCid disease主键
     * @return 结果
     */
    public int deleteChronicDiseaseByDCid(Long dCid);

    /**
     * 批量删除disease
     * 
     * @param dCids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteChronicDiseaseByDCids(Long[] dCids);
}
